
import clipboard from './clipboard'
import hasPermi from './hasPermi'
const install = function(Vue) {
  Vue.directive('hasPermi', hasPermi)
  Vue.directive('clipboard', clipboard)

}

if (window.Vue) {
  window['hasPermi'] = hasPermi
  Vue.use(install); // eslint-disable-line
}

export default install
